<template lang="">
    <div>
        <van-nav-bar title="病案分享" />
        <div class="item-list">
            <div class="item">
                <div class="item-left">
                    <van-image  width="10rem" height="8rem" 
                    src="/static/img/share-demo.png" class="img" />
                </div>
                <div class="item-right">
                    <div class="item-title">
                        <div class="title">4岁双胞胎，同时发现肝功能</div>
                        <div class="tag">临床肝胆病杂志</div>
                    </div>
                    <div class="item-bottom">
                        <div class="item-time">2024-02-18</div>
                        <div class="item-number">84</div>
                    </div>
                </div>
            </div>

            <div class="item">
                <div class="item-left">
                    <van-image  width="10rem" height="8rem" 
                    src="/static/img/share-demo.png" class="img" />
                </div>
                <div class="item-right">
                    <div class="item-title">
                        <div class="title">4岁双胞胎，同时发现肝功能</div>
                        <div class="tag">临床肝胆病杂志</div>
                    </div>
                    <div class="item-bottom">
                        <div class="item-time">2024-02-18</div>
                        <div class="item-number">84</div>
                    </div>
                </div>
            </div>

            <div class="item">
                <div class="item-left">
                    <van-image  width="10rem" height="8rem" 
                    src="/static/img/share-demo.png" class="img" />
                </div>
                <div class="item-right">
                    <div class="item-title">
                        <div class="title">4岁双胞胎，同时发现肝功能</div>
                        <div class="tag">临床肝胆病杂志</div>
                    </div>
                    <div class="item-bottom">
                        <div class="item-time">2024-02-18</div>
                        <div class="item-number">84</div>
                    </div>
                </div>
            </div>
            <div class="item">
                <div class="item-left">
                    <van-image  width="10rem" height="8rem" 
                    src="/static/img/share-demo.png" class="img" />
                </div>
                <div class="item-right">
                    <div class="item-title">
                        <div class="title">4岁双胞胎，同时发现肝功能</div>
                        <div class="tag">临床肝胆病杂志</div>
                    </div>
                    <div class="item-bottom">
                        <div class="item-time">2024-02-18</div>
                        <div class="item-number">84</div>
                    </div>
                </div>
            </div>

            <div class="item">
                <div class="item-left">
                    <van-image  width="10rem" height="8rem" 
                    src="/static/img/share-demo.png" class="img" />
                </div>
                <div class="item-right">
                    <div class="item-title">
                        <div class="title">4岁双胞胎，同时发现肝功能</div>
                        <div class="tag">临床肝胆病杂志</div>
                    </div>
                    <div class="item-bottom">
                        <div class="item-time">2024-02-18</div>
                        <div class="item-number">84</div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</template>
<script>
import { ref, reactive } from 'vue'
import { useRouter, useRoute } from 'vue-router'
import { getItem, getItemCate, addItemCate } from "../api/index"
import { getUserInfo, log, LOCAL_USER } from "../utils/user"
import { showToast, showConfirmDialog } from 'vant';
export default {
    setup() {
        const router = useRouter()
        const route = useRoute()
        const userInfo = getUserInfo();

        const tab = ref('zl')
        return {
            tab
        }
    }
}
</script>
<style scoped>
.item-list{
    display: flex;
    flex-direction: column;
    padding: 15px;
}
.item{
    display: flex;
    flex-direction: row;
    padding:12px 0 ;
    border-bottom: 1px solid #E3E4E5;
}
.item-right{
    padding: 15px 2px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.title{
    margin-bottom:12px;
}
.tag{
    border: 1px solid #0052D9;
    color: #0052D9;
    width: fit-content;
    padding: 3px;
    border-radius: 8px;
    font-size: 12px;
}
.item-bottom{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

</style>